package com.by.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("部门实体类")
@AllArgsConstructor
@NoArgsConstructor
public class Dept {
    @ApiModelProperty("部门id")
    private Integer id;

    @ApiModelProperty("部门名称")
    private String name;

    @ApiModelProperty("父级id")
    private Integer pid;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("负责人")
    private Integer leader;

    @ApiModelProperty("联系电话")
    private String mobile;

    @ApiModelProperty("状态 0-禁用 1-启用")
    private Integer status;
}
